#pragma once
#include <iostream>
typedef struct BinaryTreeNode* QDateType;

typedef struct QueueNode
{
	QDateType data;
	struct QueueNode* next;
}QueueNode;

typedef struct Queue
{
	QueueNode* phead;
	QueueNode* ptail;
	int size;
}Queue;

void QueueNodeInit(Queue* pq);

void QueuePush(Queue* pq,QDateType val);
void QueuePop(Queue* pq);

QDateType QueueTop(Queue* pq);

bool QueueEmpty(Queue* pq);

void QueueDestroy(Queue* pq);
